package com.bjb.vr.common.mapper;

import com.bjb.vr.common.ao.ResPackageDetailRemoveAo;
import com.bjb.vr.common.dto.ResPlaycontent;
import com.bjb.vr.common.vo.ResPlaycontentVo;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author admin
 * @description 针对表【res_playcontent】的数据库操作Mapper
 * @createDate 2022-03-18 18:00:07
 * @Entity com.bjb.vr.common.dto.ResPlaycontent
 */
public interface ResPlaycontentMapper extends MPJBaseMapper<ResPlaycontent> {

    /**
     * 根据课集id获取课程的列表
     *
     * @param playId
     * @param tenantId
     * @return
     */
    List<ResPlaycontentVo> selectPlayConByPlayId(@Param("playId") Integer playId,@Param("tenantId") String tenantId);

    Integer deleteByResId(ResPackageDetailRemoveAo resPackageDetailRemoveAo);
}




